{extend name="../index/public/mlay" /}
{block name="style"}
{/block}
{block name="header"}{/block}
{block name="container"}
<div class="page msg_warn js_show">
    <div class="weui-msg">
        <div class="weui-msg__icon-area">{eq name="data.code" value="1"}<i class="weui-icon-success weui-icon_msg"></i>{else /}<i class="weui-icon-warn weui-icon_msg"></i>{/eq}</div>
        <div class="weui-msg__text-area">
            <h2 class="weui-msg__title">{$data.title|default=""}</h2>
            <p class="weui-msg__desc">{$data.summary|default=""}</p>
        </div>
        <div class="weui-msg__tips-area">
          <p class="weui-msg__tips">{$data.content|default=""}</p>
        </div>
        <div class="weui-msg__opr-area">
            <p class="weui-btn-area">
                <a href="javascript:;" id="ok" class="weui-btn weui-btn_default">确定</a>
            </p>
        </div>
        <div class="weui-msg__extra-area">
            <div class="weui-footer">
                <p class="weui-footer__links">
                    <a href="https://www.zzmind.com" class="weui-footer__link">郑州智众</a>
                </p>
                <p class="weui-footer__text">Copyright © 2008-2020 zzmind.com</p>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="copyright"}{/block}
{block name="page-footer"}{/block}
{block name="wxscript"}
{notempty name="jssdk"}
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<script>
  wx.config({
    debug: false,
    appId: '{$jssdk.appid}',
    timestamp: '{$jssdk.timestamp}',
    nonceStr: '{$jssdk.noncestr}',
    signature: '{$jssdk.signature}',
    jsApiList: [
	  'closeWindow',
	  'hideAllNonBaseMenuItem',
    ]
  });
  wx.ready(function () {
	wx.hideAllNonBaseMenuItem();
  });
</script>
{/notempty}
{/block}
{block name="script"}
<script>
$(document).ready(function(){
	$("#ok").on("click", function() {
		// 关闭窗口
		var colse = function(){
			wx.closeWindow();
		}
		setTimeout(colse, 500);
	})
})
</script>
{/block}